package club.pchome.dao;

import club.pchome.model.TWantbuy;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/** 求购表**/
@Mapper
public interface TWantbuyDao extends BaseDao<TWantbuy>{



	public List<TWantbuy> selectwstjl(int buyType);
	
	public TWantbuy selectddforddh(String orderNumber);
	
	public int selecttadaybuyeg(Long userId);
	
	public int updatewantbuytocg(String orderNumber);

	public int orderNumForId(TWantbuy tWantbuy);

	public int revokeOrder(String order);

	public List<TWantbuy> hangList(TWantbuy tWantbuy);

	int getWantOrderCount(Integer type);

}